export const env = process.env.NODE_ENV

const host = {
  cdn: 'https://mi-cdn.manga.ren',
  api: (env === 'production') ? 'https://api.manga.ren' : 'http://127.0.0.1:8018'
  // api: 'https://api.manga.ren'
}

export default {
  host,
  cdn: (path) => {
    return `${host.cdn}/${path}`
  },
  facebook: {
    appId: 258349068193650
  },
  channel: {
    twitter: 'https://twitter.com/RenManga',
    facebook: 'https://www.facebook.com/ren.manga.33',
    instagram: 'https://www.instagram.com/mangarenofficial/',
    snapchat: 'https://www.snapchat.com/add/manga.ren',
    email: 'mailto:mangarenofficial@gmail.com',
    telegram: 'https://www.google.com'
  },
  googlePlay: 'https://app-cdn.manga.ren/app-release.apk',
  appStore: 'https://manga.ren'
}
